package crmsystem.com.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.PastOrPresent;

/**
 * 
 * 
 * @author zhugaowei
 * @email 1912431877@qq.com
 * @date 2021-01-07 12:48:11
 */
@Data
@TableName("employee")
public class EmployeeEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@NotNull
	@TableId
	private Integer eId;
	/**
	 * 部门
	 */
	@NotEmpty
	private String eDname;
	/**
	 * 员工姓名
	 */
	@NotEmpty
	private String eMname;
	/**
	 * 员工工号
	 */
	@NotNull
	private Integer eMid;
	/**
	 * 岗位名称
	 */
	@NotEmpty
	private String eGname;
	/**
	 * 岗位职责
	 */
	@NotEmpty
	private String eGduty;
	/**
	 * 性别
	 */
	@NotEmpty
	private String eMsex;
	/**
	 * 工作电话
	 */
	@NotEmpty
	private String eWphone;
	/**
	 * 手机号码
	 */
	@NotEmpty
	private String eMphone;
	/**
	 * 邮箱
	 */
	@NotEmpty
	@Email
	private String eMmail;
	/**
	 * 工作QQ
	 */
	@NotEmpty
	private String eMqq;
	/**
	 * 短号
	 */
	@NotEmpty
	private String eMshortnumber;
	/**
	 * 职位级别
	 */
	@NotEmpty
	private String ePositionlevel;
	/**
	 * 职务类别
	 */
	@NotEmpty
	private String ePositontype;
	/**
	 * 员工状态
	 */
	@NotEmpty
	private String eMstatus;
	/**
	 * 是否离职
	 */
	@NotEmpty
	private String eMquit;
	/**
	 * 分配状态
	 */
	@NotEmpty
	private String eAllocation;
	/**
	 * 备注
	 */
	@NotEmpty
	private String eRemarks;
	/**
	 * 创建日期
	 */
	@NotNull
	@PastOrPresent
	private Date eDate;
	/**
	 * 分包状态
	 */
	@NotEmpty
	private String eFstatus;
	/**
	 * 员工所在部门id
	 */
	@NotNull
	private Integer eDeptid;

}
